package cn.tedu.charging.user.feign;


import cn.tedu.charging.common.pojo.response.JsonResult;

import cn.tedu.charging.common.pojo.vo.StaffVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * 订单用来访问计价服务的客户端
 */
//costService 要和 nacos 里的服务名称一致,你要调用谁,就写谁
@FeignClient("staffService")
public interface StaffClient {

    @GetMapping("/v1/staff/login")
    JsonResult<StaffVO> login(@SpringQueryMap String tel);

}
